package com.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/13 22:11   <br/>
 * Description: ${DES}
 *
 * @author: chen
 */

/**
 * 签到任务列表
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class SignTask {
    /**
     * 自增长主键
     */
    private Long id;

    /**
     * 教师id
     */
    private Long teacherId;

    /**
     * 签到任务描述
     */
    private String taskDes;

    /**
     * 开始签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /**
     * 结束签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}